package zuoye9;

import java.util.Arrays;

public class work2 {
	public int i;
	public int j;
	public int k;
	int[] grades = new int[3];


	public work2() {
	}

	public work2(int i) {
		this.i = i;
	}

	String play() {
		Arrays.sort(grades);
		System.out.println(Arrays.toString(grades));
		return Arrays.toString(grades);
	}

	public static void main(String[] args) {
		work2[] grades = { new work2(87), new work2(76), new work2(90) };
		work2 text = new work2();
		text.play();
	}
}
